[INFO] cloning repository https://github.com/HotelCalifornia/er
[INFO] running `Command { std: "git" "-c" "credential.helper=" "-c" "credential.helper=/workspace/cargo-home/bin/git-credential-null" "clone" "--bare" "https://github.com/HotelCalifornia/er" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer", kill_on_drop: false }`
[INFO] [stderr] Cloning into bare repository '/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer'...
[INFO] running `Command { std: "git" "rev-parse" "HEAD", kill_on_drop: false }`
[INFO] [stdout] fd3ae152e4f50e5cb681772ed4d519f372ab54b5
[INFO] checking HotelCalifornia/er against master#9610dfe5a9a731ced1ea4923ecbd0c57fe367898 for beta-170-4
[INFO] running `Command { std: "git" "clone" "/workspace/cache/git-repos/https%3A%2F%2Fgithub.com%2FHotelCalifornia%2Fer" "/workspace/builds/worker-6-tc1/source", kill_on_drop: false }`
[INFO] [stderr] Cloning into '/workspace/builds/worker-6-tc1/source'...
[INFO] [stderr] done.
[INFO] validating manifest of git repo https://github.com/HotelCalifornia/er on toolchain 9610dfe5a9a731ced1ea4923ecbd0c57fe367898
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking git repo https://github.com/HotelCalifornia/er
[INFO] finished tweaking git repo https://github.com/HotelCalifornia/er
[INFO] tweaked toml for git repo https://github.com/HotelCalifornia/er written to /workspace/builds/worker-6-tc1/source/Cargo.toml
[INFO] crate git repo https://github.com/HotelCalifornia/er already has a lockfile, it will not be regenerated
[INFO] running `Command { std: CARGO_HOME="/workspace/cargo-home" RUSTUP_HOME="/workspace/rustup-home" "/workspace/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Updating crates.io index
[INFO] [stderr]  Downloading crates ...
[INFO] [stderr]   Downloaded comctl32-sys v0.2.0
[INFO] [stderr]   Downloaded native-windows-gui v0.2.1
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] 10dda332499f66114e49071e434440121bd5f7aa6329d8162ae9d5ba2f09506a
[INFO] running `Command { std: "docker" "start" "-a" "10dda332499f66114e49071e434440121bd5f7aa6329d8162ae9d5ba2f09506a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "10dda332499f66114e49071e434440121bd5f7aa6329d8162ae9d5ba2f09506a", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "10dda332499f66114e49071e434440121bd5f7aa6329d8162ae9d5ba2f09506a", kill_on_drop: false }`
[INFO] [stdout] 10dda332499f66114e49071e434440121bd5f7aa6329d8162ae9d5ba2f09506a
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-6-tc1/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:19e73879b68f455e41552ea35293514db52ea292d993f571636dbffedb77a1ee" "/opt/rustwide/cargo-home/bin/cargo" "+9610dfe5a9a731ced1ea4923ecbd0c57fe367898" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] 88dc73841af40a92720ada452fba253adca4404106b5a0861d35db4fe88497d2
[INFO] running `Command { std: "docker" "start" "-a" "88dc73841af40a92720ada452fba253adca4404106b5a0861d35db4fe88497d2", kill_on_drop: false }`
[INFO] [stderr]     Checking er v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::basetsd::{DWORD_PTR, PSIZE_T, SIZE_T};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::minwindef::{BOOL, DWORD, LPCVOID, LPDWORD, LPVOID};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::consoleapi::CreatePseudoConsole;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::fileapi::WriteFile;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::minwinbase::{LPSECURITY_ATTRIBUTES, LPOVERLAPPED};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::namedpipeapi::CreatePipe;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::processthreadsapi::{
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::wincon::{GetConsoleScreenBufferInfo, PCONSOLE_SCREEN_BUFFER_INFO};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::wincontypes::{COORD, HPCON};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winnt::{HANDLE, LPCWSTR, LPWSTR, PHANDLE, PVOID};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/win/mod.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPCVOID};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winbase::{STD_ERROR_HANDLE, STD_INPUT_HANDLE, STD_OUTPUT_HANDLE};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::{HANDLE, PHANDLE};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     use winapi::um::minwinbase::SECURITY_ATTRIBUTES;
[INFO] [stdout]     |         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:5:5
[INFO] [stdout]   |
[INFO] [stdout] 5 | use winapi::shared::basetsd::{DWORD_PTR, PSIZE_T, SIZE_T};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use winapi::shared::minwindef::{BOOL, DWORD, LPCVOID, LPDWORD, LPVOID};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:7:5
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::um::consoleapi::CreatePseudoConsole;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:8:5
[INFO] [stdout]   |
[INFO] [stdout] 8 | use winapi::um::fileapi::WriteFile;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/win/api.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::um::handleapi::CloseHandle;
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::minwinbase::{LPSECURITY_ATTRIBUTES, LPOVERLAPPED};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::namedpipeapi::CreatePipe;
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:12:5
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::processthreadsapi::{
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:16:5
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::wincon::{GetConsoleScreenBufferInfo, PCONSOLE_SCREEN_BUFFER_INFO};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:17:5
[INFO] [stdout]    |
[INFO] [stdout] 17 | use winapi::um::wincontypes::{COORD, HPCON};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/win/api.rs:18:5
[INFO] [stdout]    |
[INFO] [stdout] 18 | use winapi::um::winnt::{HANDLE, LPCWSTR, LPWSTR, PHANDLE, PVOID};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> src/win/mod.rs:4:18
[INFO] [stdout]   |
[INFO] [stdout] 4 |     use std::os::windows::ffi::OsStrExt;
[INFO] [stdout]   |                  ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]  --> src/main.rs:9:5
[INFO] [stdout]   |
[INFO] [stdout] 9 | use winapi::shared::minwindef::{DWORD, LPCVOID};
[INFO] [stdout]   |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:10:5
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::um::winbase::{STD_ERROR_HANDLE, STD_INPUT_HANDLE, STD_OUTPUT_HANDLE};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:11:5
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::um::winnt::{HANDLE, PHANDLE};
[INFO] [stdout]    |     ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:108:9
[INFO] [stdout]     |
[INFO] [stdout] 108 |     use winapi::um::minwinbase::SECURITY_ATTRIBUTES;
[INFO] [stdout]     |         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::DWORD) -> Result<HANDLE, Box<dyn Error>> {
[INFO] [stdout]    |                              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:65:30
[INFO] [stdout]    |
[INFO] [stdout] 65 | fn get_std_handle(handle_id: winapi::shared::minwindef::DWORD) -> Result<HANDLE, Box<dyn Error>> {
[INFO] [stdout]    |                              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let handle: HANDLE = unsafe { winapi::um::processenv::GetStdHandle(handle_id) };
[INFO] [stdout]    |                                   ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         winapi::um::handleapi::INVALID_HANDLE_VALUE => Err("Failed to get handle!".into()),
[INFO] [stdout]    |         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:66:35
[INFO] [stdout]    |
[INFO] [stdout] 66 |     let handle: HANDLE = unsafe { winapi::um::processenv::GetStdHandle(handle_id) };
[INFO] [stdout]    |                                   ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:105:33
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut pty_write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:106:28
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                            ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:107:32
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut pty_read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                                ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:117:33
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn get_console_size() -> Result<winapi::um::wincontypes::COORD, Box<dyn Error>> {
[INFO] [stdout]     |                                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]   --> src/main.rs:68:9
[INFO] [stdout]    |
[INFO] [stdout] 68 |         winapi::um::handleapi::INVALID_HANDLE_VALUE => Err("Failed to get handle!".into()),
[INFO] [stdout]    |         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:104:29
[INFO] [stdout]     |
[INFO] [stdout] 104 |     let mut write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:105:33
[INFO] [stdout]     |
[INFO] [stdout] 105 |     let mut pty_write: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:106:28
[INFO] [stdout]     |
[INFO] [stdout] 106 |     let mut read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                            ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:107:32
[INFO] [stdout]     |
[INFO] [stdout] 107 |     let mut pty_read: HANDLE = winapi::um::handleapi::INVALID_HANDLE_VALUE;
[INFO] [stdout]     |                                ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:118:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut console_size: winapi::um::wincontypes::COORD = Default::default();
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut console_sb_inf: winapi::um::wincon::CONSOLE_SCREEN_BUFFER_INFO = Default::default();
[INFO] [stdout]     |                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:117:33
[INFO] [stdout]     |
[INFO] [stdout] 117 | fn get_console_size() -> Result<winapi::um::wincontypes::COORD, Box<dyn Error>> {
[INFO] [stdout]     |                                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:118:27
[INFO] [stdout]     |
[INFO] [stdout] 118 |     let mut console_size: winapi::um::wincontypes::COORD = Default::default();
[INFO] [stdout]     |                           ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:130:14
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pc: *mut winapi::um::wincontypes::HPCON,
[INFO] [stdout]     |              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:119:29
[INFO] [stdout]     |
[INFO] [stdout] 119 |     let mut console_sb_inf: winapi::um::wincon::CONSOLE_SCREEN_BUFFER_INFO = Default::default();
[INFO] [stdout]     |                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:130:14
[INFO] [stdout]     |
[INFO] [stdout] 130 |     pc: *mut winapi::um::wincontypes::HPCON,
[INFO] [stdout]     |              ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |     if fds[3] == winapi::um::handleapi::INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                  ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:137:18
[INFO] [stdout]     |
[INFO] [stdout] 137 |     if fds[3] == winapi::um::handleapi::INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                  ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:140:18
[INFO] [stdout]     |
[INFO] [stdout] 140 |     if fds[2] == winapi::um::handleapi::INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                  ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pc: winapi::um::wincontypes::HPCON,
[INFO] [stdout]     |         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 | ) -> Result<winapi::um::winbase::STARTUPINFOEXW, Box<dyn Error>> {
[INFO] [stdout]     |             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut si: winapi::um::winbase::STARTUPINFOEXW = Default::default();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:140:18
[INFO] [stdout]     |
[INFO] [stdout] 140 |     if fds[2] == winapi::um::handleapi::INVALID_HANDLE_VALUE {
[INFO] [stdout]     |                  ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:148:9
[INFO] [stdout]     |
[INFO] [stdout] 148 |     pc: winapi::um::wincontypes::HPCON,
[INFO] [stdout]     |         ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:151:45
[INFO] [stdout]     |
[INFO] [stdout] 151 |     si.StartupInfo.cb = std::mem::size_of::<winapi::um::winbase::STARTUPINFOEXW>()
[INFO] [stdout]     |                                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:149:13
[INFO] [stdout]     |
[INFO] [stdout] 149 | ) -> Result<winapi::um::winbase::STARTUPINFOEXW, Box<dyn Error>> {
[INFO] [stdout]     |             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:150:17
[INFO] [stdout]     |
[INFO] [stdout] 150 |     let mut si: winapi::um::winbase::STARTUPINFOEXW = Default::default();
[INFO] [stdout]     |                 ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:151:45
[INFO] [stdout]     |
[INFO] [stdout] 151 |     si.StartupInfo.cb = std::mem::size_of::<winapi::um::winbase::STARTUPINFOEXW>()
[INFO] [stdout]     |                                             ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:161:36
[INFO] [stdout]     |
[INFO] [stdout] 161 |     si.lpAttributeList = a_list as winapi::um::processthreadsapi::LPPROC_THREAD_ATTRIBUTE_LIST;
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api`
[INFO] [stdout]    --> src/main.rs:111:15
[INFO] [stdout]     |
[INFO] [stdout] 111 |     win::api::create_pipe(&mut pty_write, &mut read, &mut attr, 0)?;
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api`
[INFO] [stdout]    --> src/main.rs:112:15
[INFO] [stdout]     |
[INFO] [stdout] 112 |     win::api::create_pipe(&mut write, &mut pty_read, &mut attr, 0)?;
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: use of undeclared crate or module `winapi`
[INFO] [stdout]    --> src/main.rs:161:36
[INFO] [stdout]     |
[INFO] [stdout] 161 |     si.lpAttributeList = a_list as winapi::um::processthreadsapi::LPPROC_THREAD_ATTRIBUTE_LIST;
[INFO] [stdout]     |                                    ^^^^^^ use of undeclared crate or module `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_console_screen_buffer_info` in module `win::api`
[INFO] [stdout]    --> src/main.rs:121:15
[INFO] [stdout]     |
[INFO] [stdout] 121 |     win::api::get_console_screen_buffer_info(get_std_handle(STD_OUTPUT_HANDLE)?, &mut console_sb_inf)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_pseudoconsole` in module `win::api`
[INFO] [stdout]    --> src/main.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     win::api::create_pseudoconsole(console_size, fds[2], fds[3], 0, pc)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api`
[INFO] [stdout]    --> src/main.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |         win::api::close_handle(fds[3])?;
[INFO] [stdout]     |                   ^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api`
[INFO] [stdout]    --> src/main.rs:141:19
[INFO] [stdout]     |
[INFO] [stdout] 141 |         win::api::close_handle(fds[2])?;
[INFO] [stdout]     |                   ^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `init_proc_thread_attr_list` in module `win::api`
[INFO] [stdout]    --> src/main.rs:156:15
[INFO] [stdout]     |
[INFO] [stdout] 156 |     win::api::init_proc_thread_attr_list(std::ptr::null_mut(), 1, 0, &mut bytes)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update_proc_thread_attr` in module `win::api`
[INFO] [stdout]    --> src/main.rs:164:15
[INFO] [stdout]     |
[INFO] [stdout] 164 |     win::api::update_proc_thread_attr(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api`
[INFO] [stdout]    --> src/main.rs:111:15
[INFO] [stdout]     |
[INFO] [stdout] 111 |     win::api::create_pipe(&mut pty_write, &mut read, &mut attr, 0)?;
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_pipe` in module `win::api`
[INFO] [stdout]    --> src/main.rs:112:15
[INFO] [stdout]     |
[INFO] [stdout] 112 |     win::api::create_pipe(&mut write, &mut pty_read, &mut attr, 0)?;
[INFO] [stdout]     |               ^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `get_console_screen_buffer_info` in module `win::api`
[INFO] [stdout]    --> src/main.rs:121:15
[INFO] [stdout]     |
[INFO] [stdout] 121 |     win::api::get_console_screen_buffer_info(get_std_handle(STD_OUTPUT_HANDLE)?, &mut console_sb_inf)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `create_pseudoconsole` in module `win::api`
[INFO] [stdout]    --> src/main.rs:135:15
[INFO] [stdout]     |
[INFO] [stdout] 135 |     win::api::create_pseudoconsole(console_size, fds[2], fds[3], 0, pc)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api`
[INFO] [stdout]    --> src/main.rs:138:19
[INFO] [stdout]     |
[INFO] [stdout] 138 |         win::api::close_handle(fds[3])?;
[INFO] [stdout]     |                   ^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `close_handle` in module `win::api`
[INFO] [stdout]    --> src/main.rs:141:19
[INFO] [stdout]     |
[INFO] [stdout] 141 |         win::api::close_handle(fds[2])?;
[INFO] [stdout]     |                   ^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `init_proc_thread_attr_list` in module `win::api`
[INFO] [stdout]    --> src/main.rs:156:15
[INFO] [stdout]     |
[INFO] [stdout] 156 |     win::api::init_proc_thread_attr_list(std::ptr::null_mut(), 1, 0, &mut bytes)?;
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0425]: cannot find function `update_proc_thread_attr` in module `win::api`
[INFO] [stdout]    --> src/main.rs:164:15
[INFO] [stdout]     |
[INFO] [stdout] 164 |     win::api::update_proc_thread_attr(
[INFO] [stdout]     |               ^^^^^^^^^^^^^^^^^^^^^^^ not found in `win::api`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] warning: unused import: `std::io::Read`
[INFO] [stdout]  --> src/main.rs:6:5
[INFO] [stdout]   |
[INFO] [stdout] 6 | use std::io::Read;
[INFO] [stdout]   |     ^^^^^^^^^^^^^
[INFO] [stdout]   |
[INFO] [stdout]   = note: `#[warn(unused_imports)]` on by default
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]  --> src/win/mod.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | /     std::ffi::OsStr::new(value)
[INFO] [stdout] 6 | |         .encode_wide()
[INFO] [stdout]   | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]   | |_________|
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for reference `&OsStr` in the current scope
[INFO] [stdout]  --> src/win/mod.rs:6:10
[INFO] [stdout]   |
[INFO] [stdout] 5 | /     std::ffi::OsStr::new(value)
[INFO] [stdout] 6 | |         .encode_wide()
[INFO] [stdout]   | |         -^^^^^^^^^^^ method not found in `&OsStr`
[INFO] [stdout]   | |_________|
[INFO] [stdout]   | 
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 43 previous errors; 1 warning emitted
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0425, E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0425`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `er` (bin "er" test) due to 44 previous errors; 1 warning emitted
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stderr] error: could not compile `er` (bin "er") due to 44 previous errors; 1 warning emitted
[INFO] running `Command { std: "docker" "inspect" "88dc73841af40a92720ada452fba253adca4404106b5a0861d35db4fe88497d2", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "88dc73841af40a92720ada452fba253adca4404106b5a0861d35db4fe88497d2", kill_on_drop: false }`
[INFO] [stdout] 88dc73841af40a92720ada452fba253adca4404106b5a0861d35db4fe88497d2
